<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>UI原型展示 - 卖家顾问需求小程序</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            margin: 0;
            padding: 0;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }
        .sidebar {
            width: 280px;
            height: 100vh;
            background: #f8f9fa;
            border-right: 1px solid #e9ecef;
            overflow-y: auto;
            position: fixed;
            left: 0;
            top: 0;
        }
        .content {
            margin-left: 280px;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #e9ecef;
            padding: 40px;
        }
        .phone-frame {
            background: #1a1a1a;
            border-radius: 40px;
            padding: 20px 8px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            position: relative;
        }
        .phone-screen {
            background: white;
            border-radius: 30px;
            overflow: hidden;
            width: 375px;
            height: 812px;
            position: relative;
        }
        .phone-notch {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 150px;
            height: 30px;
            background: #1a1a1a;
            border-radius: 0 0 20px 20px;
            z-index: 10;
        }
        iframe {
            width: 100%;
            height: 100%;
            border: none;
            display: block;
        }
        .menu-item {
            padding: 12px 20px;
            cursor: pointer;
            border-left: 3px solid transparent;
            transition: all 0.2s;
        }
        .menu-item:hover {
            background: #e9ecef;
        }
        .menu-item.active {
            background: #e3f2fd;
            border-left-color: #2196f3;
            color: #2196f3;
            font-weight: 600;
        }
        .menu-group {
            margin-top: 20px;
        }
        .menu-group-title {
            padding: 8px 20px;
            font-size: 12px;
            font-weight: 600;
            color: #6c757d;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
    </style>
</head>
<body>
    <!-- 左侧菜单 -->
    <div class="sidebar">
        <div class="p-4 border-b border-gray-200">
            <h1 class="text-xl font-bold text-gray-800">卖家顾问需求小程序</h1>
            <p class="text-sm text-gray-500 mt-1">UI原型展示</p>
        </div>
        
        <!-- 通用页面 -->
        <div class="menu-group">
            <div class="menu-group-title">通用页面</div>
            <div class="menu-item" data-page="login.html">
                <i class="fas fa-sign-in-alt mr-2"></i>登录
            </div>
            <div class="menu-item" data-page="问卷调查.html">
                <i class="fas fa-clipboard-list mr-2"></i>问卷调查
            </div>
        </div>

        <!-- 客户端页面 -->
        <div class="menu-group">
            <div class="menu-group-title">客户端页面</div>
            <div class="menu-item active" data-page="customer-home.html">
                <i class="fas fa-home mr-2"></i>首页
            </div>
            <div class="menu-item" data-page="customer-requirement-submit.html">
                <i class="fas fa-plus-circle mr-2"></i>提交需求
            </div>
            <div class="menu-item" data-page="customer-requirement-list.html">
                <i class="fas fa-list mr-2"></i>需求列表
            </div>
            <div class="menu-item" data-page="customer-requirement-detail.html">
                <i class="fas fa-file-alt mr-2"></i>需求详情
            </div>
            <div class="menu-item" data-page="customer-quotation-detail.html">
                <i class="fas fa-tag mr-2"></i>报价详情
            </div>
            <div class="menu-item" data-page="customer-quotation-total.html">
                <i class="fas fa-receipt mr-2"></i>报价总览
            </div>
            <div class="menu-item" data-page="customer-agreement-detail.html">
                <i class="fas fa-file-contract mr-2"></i>协议详情
            </div>
            <div class="menu-item" data-page="customer-profile.html">
                <i class="fas fa-user mr-2"></i>我的
            </div>
        </div>

        <!-- 顾问端页面 -->
        <!-- <div class="menu-group">
            <div class="menu-group-title">顾问端页面</div>
            <div class="menu-item" data-page="advisor-dashboard.html">
                <i class="fas fa-tachometer-alt mr-2"></i>工作台
            </div>
            <div class="menu-item" data-page="advisor-requirement-list.html">
                <i class="fas fa-list mr-2"></i>需求管理
            </div>
            <div class="menu-item" data-page="advisor-requirement-detail.html">
                <i class="fas fa-file-alt mr-2"></i>需求详情
            </div>
            <div class="menu-item" data-page="advisor-quotation-create.html">
                <i class="fas fa-plus-circle mr-2"></i>创建报价
            </div>
            <div class="menu-item" data-page="advisor-agreement-upload.html">
                <i class="fas fa-upload mr-2"></i>上传协议
            </div>
            <div class="menu-item" data-page="advisor-profile.html">
                <i class="fas fa-user mr-2"></i>我的
            </div>
        </div> -->

        <!-- 设计页面 -->
        <div class="menu-group">
            <div class="menu-group-title">设计页面</div>
            <div class="menu-item" data-page="requirement-progress-card-designs.html">
                <i class="fas fa-palette mr-2"></i>需求进度卡片设计
            </div>
            <div class="menu-item" data-page="stat-card-designs.html">
                <i class="fas fa-chart-bar mr-2"></i>统计卡片设计
            </div>
        </div>
    </div>

    <!-- 右侧内容区域 -->
    <div class="content">
        <div class="phone-frame">
            <div class="phone-notch"></div>
            <div class="phone-screen">
                <iframe id="pageFrame" src="customer-home.html"></iframe>
            </div>
        </div>
    </div>

    <script>
        // 菜单点击事件
        document.querySelectorAll('.menu-item').forEach(item => {
            item.addEventListener('click', function() {
                // 移除所有active类
                document.querySelectorAll('.menu-item').forEach(i => i.classList.remove('active'));
                // 添加active类到当前项
                this.classList.add('active');
                // 更新iframe
                const page = this.getAttribute('data-page');
                document.getElementById('pageFrame').src = page;
            });
        });
    </script>
</body>
</html>

